home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 6 / Windows 6-Pak (InfoMagic) (Disc 6) (1999).ISO / Microsoft-Office-Addins / shortcut.exe / _setup.1 / NOTEDEMO.FCR < prev    next >
Text File  |  1998-06-16  |  1KB  |  45 lines

  1. ;-- Ask user for his/her name
  2. QUESTION "What is your name?" Username
  3. ;-- Send greeting message
  4. SEND "Hello |UserName|, welcome to Hello World Demonstration :){enter}"
  5. SEND "This demonstration will show you many features Shortcut has...{enter}"
  6. SEND "{enter}"
  7. PAUSE 1
  8. ;-- Demonstrate pause feature
  9. SEND "Shortcut has an ability to pause for any amount of seconds.{enter}"
  10. SEND "Here we will pause for 5 seconds.{enter}"
  11. SEND "Pause....{enter}"
  12. PAUSE 5
  13. SEND "5 Seconds is up.{enter}{enter}"
  14. PAUSE 1
  15. ;-- Demonstrate System Command
  16. SEND "Shortcut can also send system command to a window.{enter}"
  17. PAUSE 1
  18. DISPLAY "Press any key to minimize Notepad."
  19. SYSCMD minimize
  20. DISPLAY "Press any key to restore Notepad."
  21. SYSCMD restore
  22. SEND "{enter}"
  23. PAUSE 1
  24. ;-- Demonstration of predefined variables usage
  25. SEND "Shortcut provides you with some predefined variables.{enter}"
  26. SEND "Predefined variables are:{enter}"
  27. SEND "BOM = Begining of month{tab}{tab}|BOM|{enter}"
  28. SEND "EOM = End of month{tab}{tab}|EOM|{enter}"
  29. SEND "TIME = Current Time{tab}{tab}|TIME|{enter}"
  30. SEND "{enter}"
  31. PAUSE 1
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.